package com.yunhe.merchants.service;

import com.yunhe.merchants.model.ChannelSourceData;
import com.yunhe.merchants.model.CustomerStatistics;
import com.yunhe.merchants.model.PersonalPlanComplete;
import com.yunhe.merchants.model.SalesFunnel;

import java.util.List;

/**
 * @ClassName: IStatisticsAnalysisService
 * @Description:
 * @author: GongDaCheng
 * @Date: 10:16 2021/5/17
 */
public interface IStatisticsAnalysisService {
    /**
     * @Description 获取客户数据同分析的相关数据
     * @Param String year, String month
     * @Return CustomerStatistics
     * @Date 2021/5/17 10:28
     */
    CustomerStatistics getCustomerStatistics(Long userId, String year, String month);

    /**
     * @Description 获取销售漏斗图相关数据
     * @Param
     * @Return SalesFunnel
     * @Date 2021/5/17 10:30
     * @param userId
     */
    SalesFunnel getSalesFunnel(Long userId);

    /**
     * @Description 获取渠道来源相关数据
     * @Param
     * @Return ChannelSource
     * @Date 2021/5/17 10:28
     * @param userId
     */
    List<ChannelSourceData> getChannelSource(Long userId);

    /**
     * @Description 获取人员完成情况相关数据
     * @Param
     * @Return List<PersonalPlanComplete>
     * @Date 2021/5/17 10:32
     */
    List<PersonalPlanComplete> planCompletion(Long stationId, Long userId, String year, String month);
}
